package com.ecoolex.ying.space.core.mapper;

import com.ecoolex.framework.common.annotation.Description;
import com.ecoolex.ying.space.entity.EstateProjectActivityCategory;
import com.ecoolex.ying.space.entity.EstateProjectActivityCategoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.lang.NonNull;

public interface EstateProjectActivityCategoryMapper {
    long countByExample(EstateProjectActivityCategoryExample example);

    int deleteByExample(EstateProjectActivityCategoryExample example);

    int deleteByPrimaryKey(Integer activityCategoryId);

    int insert(EstateProjectActivityCategory record);

    int insertSelective(@Param("record") EstateProjectActivityCategory record, @Param("selective") EstateProjectActivityCategory.Column ... selective);

    EstateProjectActivityCategory selectOneByExample(EstateProjectActivityCategoryExample example);

    List<EstateProjectActivityCategory> selectByExample(EstateProjectActivityCategoryExample example);

    EstateProjectActivityCategory selectByPrimaryKey(Integer activityCategoryId);

    EstateProjectActivityCategory selectByPrimaryKeyWithLogicalDelete(@Param("activityCategoryId") Integer activityCategoryId, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") EstateProjectActivityCategory record, @Param("example") EstateProjectActivityCategoryExample example, @Param("selective") EstateProjectActivityCategory.Column ... selective);

    int updateByExample(@Param("record") EstateProjectActivityCategory record, @Param("example") EstateProjectActivityCategoryExample example);

    int updateByPrimaryKeySelective(@Param("record") EstateProjectActivityCategory record, @Param("selective") EstateProjectActivityCategory.Column ... selective);

    int updateByPrimaryKey(EstateProjectActivityCategory record);

    int batchInsert(@Param("list") List<EstateProjectActivityCategory> list);

    int batchInsertSelective(@Param("list") List<EstateProjectActivityCategory> list, @Param("selective") EstateProjectActivityCategory.Column ... selective);

    int logicalDeleteByExample(@Param("example") EstateProjectActivityCategoryExample example);

    int logicalDeleteByPrimaryKey(Integer activityCategoryId);
}